<?php
require_once(dirname(__FILE__)."../../users/config.php");


if(!$cfg_ml->IsLogin())
{
	
if($dopost<>'go')
{ //默认
require_once(DEDEINC."/arc.xlsearch.class.php");
$sp = new SearchView($typeid,$keyword,$orderby,$channeltype,$searchtype,$starttime,$pagesize,$kwtype,$mid);
$keyword = $oldkeyword;
$sp->Display();
}
else //搜索
{



$buyid = addslashes(cn_substr($odid,10)); //订单号码
$name = addslashes(cn_substr($username,30)); //姓名
$tel = addslashes(cn_substr($telephone,30)); //电话

require_once(DEDEINC."/arc.hxlsearch.class.php");
$sp = new SearchView($odid,$name,$tel,$channeltype,$searchtype,$starttime,$pagesize,$kwtype,$mid);
$keyword = $oldkeyword;
$sp->Display();

} // 搜索完毕



}
else  //如果已经登录
{
		
		
		
  require_once("../users/edit_myorder.php");

		
}



?>